4228f9aad6cf8ad6d3751cca7bb9abcdb3ed1f64,app/src/main/java/com/alorma/github/ui/activity/repo/RepositorySourceActivity.java,RepositorySourceActivity,onCreate,#Bundle#,26

Before Change


    if (getIntent() != null) {
      Branch branch = getIntent().getParcelableExtra(BRANCH);
      if (branch != null) {
        textView.setText(branch.name);
      }
    }
  }

After Change



        int branchIndex = -1;
        for (int i = 0; i < branches.size(); i++) {
          if (!branch.name.equals(branches.get(0).name)) {
            branchIndex = i;
          }
        }